package com.linhh.mall.center.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

/**
 * menu_info 实体类
 * @Author linhh
 * @Date 2022 10 22 10 41
 **/
@Data // getter、setter
@AllArgsConstructor // 全参构造方法
@NoArgsConstructor // 无参构造方法
@Accessors(chain = true) // 链式编程写法
@Table(name="menu_info")
public class MenuInfo extends BaseEntity implements Serializable {

    /**
     *
     */
    private Boolean iFrame;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 菜单层级
     */
    private Integer level;

    /**
     *
     */
    private String component;
    /**
     *
     */
    private Long pid;
    /**
     *
     */
    private Integer sort;
    /**
     *
     */
    private String icon;
    /**
     *
     */
    private String path;
    /**
     *
     */
    private Boolean cache;
    /**
     *
     */
    private Boolean hidden;
    /**
     *
     */
    private String componentName;
    /**
     *
     */
    private String permission;
    /**
     *
     */
    private List<MenuInfo> children;
}
